﻿<%@ Page Language="C#" MasterPageFile="~masterurl/custom.master" AutoEventWireup="true"
  Inherits="Kiiro.SiteDefinition.PortalPages.BeingPlannedProjects, Kiiro.SiteDefinition, Version=1.2.0.7, Culture=neutral, PublicKeyToken=5b2f4277f61b7816" %>

<%@ Register TagPrefix="WPP" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="v2" TagName="Pager" Src="~/_controltemplates/Kiiro/Pager.ascx" %>
<%@ Register TagPrefix="v2" TagName="WelcomeMessagePanel" Src="~/_controltemplates/Kiiro/WelcomeMessagePanel.ascx" %>
<%@ Register TagPrefix="v2" TagName="Filter" Src="~/_controltemplates/Kiiro/Filter.ascx" %>
<asp:Content ID="ContentTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
  <asp:Literal ID="litTitle" runat="server" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
  <div id="actionBar" runat="server" class="actionbar">
    <div class="wrap-has-tabs">
      <v2:Filter id="v2Filter" runat="server" />
    </div>
  </div>
  <div class="body-pad">
    <div class="body">
      <div class="wrap">
        <div class="panel-pad">
          <asp:Panel ID="pnlPanel" runat="server" CssClass="panel">
            <div class="panel-wrap">
              <div class="panel-title" id="columnHeaders" runat="server">
                <table class="table-being-planned">
                  <tr>
                    <th class="title">
                      <span>
                        <p class="sort">
                          <asp:LinkButton ID="lbTitleSort" runat="server" OnClick="SortBy_Click" CommandArgument="Title"><b>Title</b></asp:LinkButton><asp:Literal
                            ID="titleSort" runat="server" /></p>
                      </span>
                    </th>
                    <th class="start">
                      <span>
                        <p class="sort">
                          <asp:LinkButton ID="lbCreatedSort" runat="server" OnClick="SortBy_Click" CommandArgument="StartDate">Start Date</asp:LinkButton><asp:Literal
                            ID="startSort" runat="server" /></p>
                      </span>
                    </th>
                    <th class="due">
                      <asp:Label ID="lbModifiedSort" runat="server" Text="End Date" />
                    </th>
                    <th class="project-manager">
                      <asp:Label ID="lbProjectManager" runat="server" Text="Project Manager" Font-Bold="true" />
                    </th>
                    <th class="edit">
                      &nbsp;
                    </th>
                  </tr>
                </table>
              </div>
              <div class="table">
                <table class="table-being-planned">
                  <asp:Repeater ID="rptProject" runat="server" OnItemDataBound="rptProject_ItemDataBound">
                    <ItemTemplate>
                      <tr id="trProject" runat="server">
                        <td class="title">
                          <h2>
                            <asp:HyperLink ID="lnkProject" runat="server" /></h2>
                        </td>
                        <td class="start">
                          <asp:Label ID="lblStartDate" runat="server" />
                        </td>
                        <td class="due">
                          <asp:Label ID="lblEndDate" runat="server" />
                        </td>
                        <td class="project-manager ">
                          <asp:HyperLink ID="lnkProjectManager" runat="server" />
                        </td>
                        <td class="edit">
                          <asp:HyperLink ID="lnkEdit" runat="server" Text="Edit" Visible="false" /><br />
                          <asp:LinkButton ID="btnDelete" runat="server" Text="Delete" Visible="false" OnClick="btnDelete_Click"
                            OnClientClick="javascript: return confirm('Are you sure you want to delete this project?');" />
                        </td>
                      </tr>
                    </ItemTemplate>
                  </asp:Repeater>
                </table>
              </div>
            </div>
          </asp:Panel>
          <v2:Pager id="v2Pager" runat="server" />
          <v2:WelcomeMessagePanel id="v2WelcomeMessagePanel" runat="server" visible="false" />
        </div>
      </div>
    </div>
  </div>
</asp:Content>
